<?php

use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = '未登记 '.Yii::t('app', 'UUID');
//$this->params['breadcrumbs'][] = $this->title;
?>
<div class="rado-locations-index">
    <div class="box-header with-border no-padding">
    </div>

    <div class="space10"></div>

    <div class="box box-body">
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'layout' => '<div class="box-body">{items}</div>
                     <div class="box-footer">
                        {summary}
                        <div class="_pager">{pager}</div>
                     </div>',
        'columns' => [
            'id',
            'uuid',
            [
                'label' => 'created',
                'attribute' => 'created_at',
                'format' => ['datetime', 'php:Y-m-d H:i:s'],
            ],

            [
                'class' => 'ua_backend\components\ActionColumn',
                'template' => '{delete}'
            ],
        ],
    ]); ?>
    </div>
</div>
